package com.gc.services.impl;

import com.gc.dao.custom.UserAssociationMapper;
import com.gc.pojo.SysUserAssociation;
import com.gc.services.UserAssociationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserAssociationServiceImpl implements UserAssociationService {
    @Autowired
    private UserAssociationMapper userAssociationMapper;

    @Override
    public SysUserAssociation getByUserId(Integer userId) {
        return userAssociationMapper.selectByUid(userId);
    }
}
